package com.dhcc.bpm.modules.cost.service.impl;

import com.dhcc.bpm.modules.cost.entity.RechargeInfo;
import com.dhcc.bpm.modules.cost.vo.RechargeInfoVO;
import com.dhcc.bpm.modules.cost.mapper.RechargeInfoMapper;
import com.dhcc.bpm.modules.cost.service.IRechargeInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName RechargeInfoServiceImpl.class
 * @Description   充值记录表 服务实现类
 * @Author xiaFaYu
 * @Date 2019-12-16 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service
public class RechargeInfoServiceImpl extends ServiceImpl<RechargeInfoMapper, RechargeInfo> implements IRechargeInfoService {

	/**
	 * @Description 自定义分页
	 * @Author xiafayu
	 * @Date 2020/2/24 15:11
	 * @param page
	 * @param rechargeInfo
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.cost.vo.RechargeInfoVO>
	 **/
	@Override
	public IPage<RechargeInfoVO> selectRechargeInfoPage(IPage<RechargeInfoVO> page, RechargeInfoVO rechargeInfo) {
		return page.setRecords(baseMapper.selectRechargeInfoPage(page, rechargeInfo));
	}

}
